package bean.entity;

import java.io.Serializable;

import javax.faces.bean.ManagedBean;
import javax.faces.bean.SessionScoped;

import entity.Person;

@ManagedBean
@SessionScoped
public class PersonBean implements Serializable {
	private static final long serialVersionUID = -8130201699359766213L;

	private Person person;

	public PersonBean() {
			this.person = new Person();
	}
	
	public PersonBean(Person person) {
		this.person = person;
	}

	public Person getPerson() {
		return person;
	}

	public void setPerson(Person person) {
		this.person = person;
	}
}
